package com.disruptor.demo;

/**
 * @创建者: 宋晓虎
 * @创建时间: 2025/11/2  20:48
 */
public class JcMain {
    public static void main(String[] args) {
        long times=10000000;
        JCToolsFileStoreThread jcToolsFileStoreThread=new JCToolsFileStoreThread(1024*1024*10,times,System.currentTimeMillis());
        jcToolsFileStoreThread.start();
        for (long i = 0; i < times; i++) {
            jcToolsFileStoreThread.offerData(i);
        }
        jcToolsFileStoreThread.close();
    }
}

